package com.yunxi.otd.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.yunxi.core.web.DateJsonDeserializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 生产工作日历
 * </p>
 *
 * @author XUQI
 * @since 2019-07-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "OtdProduceCalendar对象", description = "生产工作日历")
public class OtdProduceCalendarVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @JsonDeserialize(using = DateJsonDeserializer.class)
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @ApiModelProperty(value = "日期")
    private Date day;

    @ApiModelProperty(value = "是否工作日 0否  1 是")
    private Integer isWork;
}
